package com.dfrz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Component
public class User {
    private Integer uid;
    private String account;    //账号（账号即为手机号）
    private String password;
    private String sex;
    private String token;
    private String career;     //用户身份，0普通用户  1管理员
    private String username;   //用户名
    private String profilepic;
    private Integer vipStatus;
    private String vipDate;

    @TableField(exist = false)
    private Video video;
    @TableField(exist = false)
    private VideoDetail detail;
}
